<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>修改住院信息--理博软件2016</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="statics/Css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="statics/Css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="statics/Css/style.css" />
    <script type="text/javascript" src="statics/Js/jquery.js"></script>
    <!-- <script type="text/javascript" src="statics/Js/jquery.sorted.js"></script> -->
    <script type="text/javascript" src="statics/Js/bootstrap.js"></script>
    <script type="text/javascript" src="statics/Js/ckform.js"></script>
    <script type="text/javascript" src="statics/Js/common.js"></script>
    <script type="text/javascript" src="statics/Js/ckeditor/ckeditor.js"></script>
 

    <style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }


    </style>
    <script type="text/javascript">
    $(function () {       
		$('#backid').click(function(){
				window.location.href="hosindex.do";
		 });
    });
    </script>
</head>
<body>
<form action="updazy.do" method="post" class="definewidth m20">
<table class="table table-bordered table-hover definewidth m10">
    <tr>
        <td width="10%" class="tableleft">病历号</td>
        <td><input name="hosrId" value="${zy.hosrId }"></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">姓名</td>
        <td><input name="hosrName" value="${zy.hosrName }"></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">证件类型</td>
        <td>身份证</td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">证件号</td>
        <td><input name="hosrIdcar" value="${zy.hosrIdcar }"></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">社保号</td>
        <td><input name="hosrMedical" value="${zy.hosrMedical }"></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">联系电话</td>
        <td><input name="hosrPhone" value="${zy.hosrPhone }"></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">是否自费</td>
        <td>
        	<c:choose>
				<c:when test="${zy.hosrSelfprice==0 }">
					<input type="radio" name=hosrSelfprice value="0" checked/>否&nbsp;&nbsp;&nbsp;
        			<input type="radio" name="hosrSelfprice" value="1"/>是
				</c:when>
				<c:otherwise>
					<input type="radio" name="hosrSelfprice" value="0"/>否&nbsp;&nbsp;&nbsp;
        			<input type="radio" name="hosrSelfprice" value="1" checked/>是
				</c:otherwise>
			</c:choose> 
        </td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">性别</td>
        <td>
			<c:choose>
				<c:when test="${zy.hosrSex==0 }">
					<input type="radio" name="hosrSex" value="0" checked/>男&nbsp;&nbsp;&nbsp;
        			<input type="radio" name="hosrSex" value="1"/>女
				</c:when>
				<c:otherwise>
					<input type="radio" name="hosrSex" value="0"/>男&nbsp;&nbsp;&nbsp;
        			<input type="radio" name="hosrSex" value="1" checked/>女
				</c:otherwise>
			</c:choose>        
        </td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">年龄</td>
        <td><input name="hosrAge" value="${zy.hosrAge }"></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">初复诊</td>
        <td>
        	<c:choose>
        		<c:when test="${zy.hosrLookdoctor==0 }">
        			<input type="radio" name="hosrLookdoctor" value="0" checked/>初诊&nbsp;&nbsp;&nbsp;
        			<input type="radio" name="hosrLookdoctor" value="1"/>复诊
        		</c:when>
        		<c:otherwise>
        			<input type="radio" name="hosrLookdoctor" value="0"/>初诊&nbsp;&nbsp;&nbsp;
        			<input type="radio" name="hosrLookdoctor" value="1" checked/>复诊
        		</c:otherwise>
        	</c:choose>
        </td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">所挂科室</td>
        <td>
        	<input type="hidden" id="pid" value="${zy.pId }">
        	<select name="pId" id="pId"></select></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">指定医生</td>
        <td><input type="hidden" id="did" value="${zy.dId }"><select name="dId" id="dId"></select></td>
    </tr>
	<tr>
        <td width="10%" class="tableleft">备注</td>
        <td><input name="hosrRemark" value="${zy.hosrRemark }"></td>
	</tr>
    <tr>
        <td width="10%" class="tableleft">护理</td>
        <td><input type="hidden" id="cid" value="${zy.cId }">
        	<select name="cId" id="cId"></select></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">床位号</td>
        <td><input type="hidden" id="bid" value="${zy.bId }">
        	<select name="bId" id="bId"></select></td>
    </tr>

    <tr>
        <td width="10%" class="tableleft">病情</td>
        <td><input name="zRemark" value="${zy.zRemark }"></td>
    </tr>
    <!-- z_time,hosR_state -->
    <tr>
        <td colspan="2">
			<center>
				<button type="submit" class="btn btn-primary" type="button">保存</button> &nbsp;&nbsp;<button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
			</center>
		</td>
    </tr>
</table>
</form>
<script type="text/javascript" src="statics/Js/pandd.js"></script>
<script type="text/javascript" src="statics/Js/hosadd.js"></script>
</body>
</html>